﻿using mscook.core.domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mscook.core.repositories
{
    public interface IMagazineRepository:IRepository<Magazine>
    {
        Magazine GetByYearMonth(string year, string month);
        IList<Magazine> GetRecent(int start, int limit);
        IList<Magazine>  GetOrderByYearMonth(int start, int limit, out long total);
        IList<Magazine> SelectPageList(int start, int limit, out long total, string title);
    }
}
